package com.qigao.mall.api;

import com.github.pagehelper.PageInfo;
import com.qigao.mall.commons.dto.BonusCondDto;
import com.qigao.mall.commons.dto.BonusDetailResultDto;
import com.qigao.mall.commons.dto.SettleTotalResultDto;
import com.qigao.mall.commons.enums.Result;
import com.qigao.mall.jdbc.model.TbBonusDetail;
import com.qigao.mall.jdbc.model.TbSettleDetail;

import java.util.Date;
import java.util.List;

public interface BonusDetailService {
    void insertBatch(List<TbBonusDetail> tbBonusDetails);

    Result<PageInfo<BonusDetailResultDto>> listPage(BonusCondDto bonusCondDto);

    List<BonusDetailResultDto> findOrderResultByCond(BonusCondDto bonusCondDto);

    List<TbSettleDetail> selectSettleGroup(Date genDate);
}
